From 561b5b9cd3adfada03a77f45389583dc2efb5ff8 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 13 Aug 2005 09:06:44 +0000 Subject: [PATCH] If block-create didn't work, then chances are block-destroy doesn't work either right :-) In this case, XendDomain.py is just calling a function that doesn't exist (device_destroy instead of device_delete). Signed-off-by: Anthony Liguori --- tools/python/xen/xend/server/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/server/controller.py b/tools/python/xen/xend/server/controller.py index a1446c3093..973398f090 100755 --- a/tools/python/xen/xend/server/controller.py +++ b/tools/python/xen/xend/server/controller.py @@ -325,7 +325,7 @@ class DevController: return self.destroyed def getDevice(self, id, error=False): - dev = self.devices.get(id) + dev = self.devices.get(int(id)) if error and not dev: raise XendError("invalid device id: " + str(id)) return dev -- 2.30.2